package main.java.org.controller;

import lombok.extern.slf4j.Slf4j;
import main.java.Exam.pojo.tableDTO.examDTO;
import main.java.Exam.pojo.tableVO.examVO;
import main.java.org.result.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user/user")
@Slf4j
public class teachercreateController {
    //创建考试
    @PostMapping("/create")
    public Result<examVO> createExam(@RequestBody examDTO examDTO) {
// 1. 校验当前登录用户是否为管理员

  return Result.success();

    }


}
